Sai Rahul Suresh's profile

Porygon-Z: Virtual Mayhem Project

Title:                               "Porygon-Z: Virtual Mayhem project"

Specifications:
Create an actual working game as a final project.
 
Category:
Computer Science

Sub-Category:
Programming / Game

Project Description:
Play as the Pokemon Porygon-Z inside a virtual world and work your way through each row of 2 vertical auto-scrolling electric zappers as you collect the coins inside the space in between each set of electric zappers. Collecting the coins while trying to avoid touching any of the zappers. If you touch the zappers you lose health and you start again. You start with 3 health and if you lose all health, you lose and you'll have to go back to the title screen.

Tools:
HTML

Platforms: 
Windows

Things I learned:
Learned how to Programmatically code for different scenarios.
Learned how to use Arrays, assign and retrieve values for proccessing within the code.
Learned how to Programmatically track variables and values for different scenarios and display them at an appropriate place.
Learned how to code a reusable function.
Learned how to code for creating a custom button and change the characteristics.
Learned how to code for Standard HTML elements (a title, a header, buttons, and <div> elements).
Learned how to document code comments (including a comment before each function, code citations when appropriate, and citations for any images used).
Learned how to write a quality code that includes consistent formatting, indenting and descriptive variables.
Learned how to access another screen. (Ex: Going from the title screen to either the instructions screen, the settings screen, or to the actual game.)
Learned how to change the image of an object from a different screen.(Changing the color of the zappers from the settings screen.)
Learned how to add music to each screen in the game.
Learned how to change the size of an image everytime it shows up. (Each row of the 2 zappers having different widths with the same amount of space inbetween them.)
Learned how to stop music for a specific screen. (Stopped music on the "Game Over" screen and the "You've taken damage" screen because a special sound is played for both of the screens.)
Learned how to display the right reward image based on the score. (0-10 coins = Bronze medal, 11-20 coins = Silver medal, & 20< = Gold medal.)
Learned how to make health go down after returning from the "You've taken damage" screen.

Contribution: 
Individual.

Credits:
Mr. Jeremiah Moon, Computer Science Teacher.


Porygon-Z: Virtual Mayhem Project
Published:

Porygon-Z: Virtual Mayhem Project

Play as the Pokemon Porygon-Z inside a virtual world

Published: